package com.sunwayworld.basemodule.business.outsource.resource;

import com.alibaba.fastjson.JSONObject;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import com.sunwayworld.basemodule.business.outsource.bean.LimsOutsourceApplyBean;
import com.sunwayworld.basemodule.business.outsource.service.LimsOutsourceApplyService;
import com.sunwayworld.framework.support.base.resource.GenericResource;
import com.sunwayworld.framework.support.auditable.resource.GenericAuditableResource;
import com.sunwayworld.framework.support.choosable.resource.GenericChoosableResource;

@RequestMapping("/secure/basemodule/business/outsource-applys")
public interface LimsOutsourceApplyResource extends GenericResource<LimsOutsourceApplyService, LimsOutsourceApplyBean, Long>, GenericAuditableResource<LimsOutsourceApplyService, LimsOutsourceApplyBean, Long>, GenericChoosableResource<LimsOutsourceApplyService, LimsOutsourceApplyBean, Long> {

    @PostMapping("/insert-multi")
    JSONObject insertMulti(RestJsonWrapperBean wrapperBean);

    @PostMapping("/result-done")
    JSONObject resultDone(RestJsonWrapperBean wrapperBean);

    @PostMapping("/set-courier")
    JSONObject setCourier(RestJsonWrapperBean wrapperBean);

    @PostMapping("/submit-check")
    JSONObject submitCheck(RestJsonWrapperBean wrapperBean);
}
